package com.coda.app.service;

import com.coda.appVo.agreement.AgreementDetailVo;
import com.coda.appVo.agreement.AgreementItemVo;
import com.coda.entity.LeaseAgreement;
import com.coda.entity.LeaseTerm;
import com.coda.entity.PaymentType;

import java.util.List;

public interface LeaseAgreementService {
    /**
     * 获取个人租约基本信息
     * @return
     */
    List<AgreementItemVo> getList();

    /**
     * 根据id获取租约详细信息
     * @param id
     * @return
     */
    AgreementDetailVo getDetail(Long id);

    /**
     * 保存或更新租约
     * @param leaseAgreement
     */
    void saveUpdate(LeaseAgreement leaseAgreement);




}
